mtd: nand: zynq: Add a config option to use 1st stage bootloader timing
authorJeff Westfahl <[email protected]>
Mon, 6 Nov 2017 08:34:46 +0000 (00:34 -0800)
committerMichal Simek <[email protected]>
Tue, 28 Nov 2017 14:53:07 +0000 (15:53 +0100)
commit8000d6ea3fc99fba43e84d870632ebde3117bb35
treed466e8db0fc284982f1a8b32cd93d5266dfca7a9
parent413ab5b0e1b88057e472ea63eb05b00eee9cf6b1
mtd: nand: zynq: Add a config option to use 1st stage bootloader timing

In legacy method, 1st stage bootloader was used to configure the HW
setting such as NAND timing. Hence, adding a config option in Zynq
NAND driver for the compatibility of device that using 1st stage
bootloder instead of U-boot SPL.

This commit is to add config option
CONFIG_NAND_ZYNQ_USE_BOOTLOADER1_TIMINGS that allow NAND driver use
timing values set by the 1st stage bootloader, instead of the hard-coded
values in the Zynq NAND driver.

Signed-off-by: Jeff Westfahl <[email protected]>
Signed-off-by: Wilson Lee <[email protected]>
Cc: Joe Hershberger <[email protected]>
Cc: Keng Soon Cheah <[email protected]>
Cc: Chen Yee Chew <[email protected]>
Cc: Siva Durga Prasad Paladugu <[email protected]>
Cc: Michal Simek <[email protected]>
Cc: Scott Wood <[email protected]>
Signed-off-by: Michal Simek <[email protected]>
drivers/mtd/nand/Kconfig
drivers/mtd/nand/zynq_nand.c